from django.conf.urls import url

from account import views

app_name= 'account'
urlpatterns=[
    #登录
    url(r'^login/$',views.login,name='login'),
    #注销
    url(r'^logout/$',views.logout,name='logout'),
    #注册
    url(r'^register/$',views.register,name='register'),
]

urlpatterns += [
    #修改密码
    url(r'^change_password/$', views.change_password, name='change_password'),
    #充值页面
    url(r'^recharge/$',views.recharge,name='recharge'),
    #充值记录
    url(r'recharge/history/$',views.recharge_history,name='recharge_history'),
    #订单记录
    url(r'^order/self/$',views.order_record,name='order_record'),
    #主页
    url(r'index',views.index,name='index')
]
